package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.EducationProfessionDao;
import com.site.wisdom_construction.entity.personnelModule.EducationProfession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/4/18
 * @Description
 */
@Service
public class EducationProfessionService implements EducationProfessionDao {
    @Autowired
    private EducationProfessionDao educationProfessionDao;

    @Override
    public int insertEducationProfession(Map map) {
        return educationProfessionDao.insertEducationProfession(map);
    }

    @Override
    public int deleteEducationProfession(Map map) {
        return educationProfessionDao.deleteEducationProfession(map);
    }

    @Override
    public int updateEducationProfession(Map map) {
        return educationProfessionDao.updateEducationProfession(map);
    }

    @Override
    public List<EducationProfession> findEducationProfessionByPage(Map map) {
        return educationProfessionDao.findEducationProfessionByPage(map);
    }

    @Override
    public long Total(Map map) {
        return educationProfessionDao.Total(map);
    }

    @Override
    public List<EducationProfession> selectEducationProfession(Map map) {
        return educationProfessionDao.selectEducationProfession(map);
    }
}
